package com.liull.spring_anno.bean;

import org.springframework.beans.factory.Aware;
import org.springframework.context.ApplicationEventPublisher;
import org.springframework.context.ApplicationEventPublisherAware;
import org.springframework.stereotype.Component;

/**
 * @Author: liull
 * @Description:
 * @Date: Created in 19:27 2020/4/9
 * @Modified By:
 */
@Component
public class AwareTest implements ApplicationEventPublisherAware {
    @Override public void setApplicationEventPublisher(ApplicationEventPublisher applicationEventPublisher) {
        //        applicationEventPublisher.publishEvent();
    }
}
